package com.example.dingtalkwebproject.service.impl;

import com.example.dingtalkwebproject.mapper.dArcStaffMapper;
import com.example.dingtalkwebproject.pojo.dArcStaff;
import com.example.dingtalkwebproject.service.dArcStaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class dArcStaffServicelmpl implements dArcStaffService {

    @Autowired
    private dArcStaffMapper dArcStaffMapper;

    @Override
    public dArcStaff selectStaffInfoByDingUserId(String dingUserId) {
        return dArcStaffMapper.selectStaffInfoByDingUserId(dingUserId);
    }

    @Override
    public dArcStaff selectDingUserIdByStaffId(String staffId) {
        return dArcStaffMapper.selectDingUserIdByStaffId(staffId);
    }
}
